package org.dromara.system.domain.bo;

import org.dromara.system.domain.WbCompanyProductList;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 各公司产品信息业务对象 wb_company_product_list
 *
 * @author Lion Li
 * @date 2024-04-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = WbCompanyProductList.class, reverseConvertGenerate = false)
public class WbCompanyProductListBo extends BaseEntity {

    /**
     * 产品ID
     */
    private Long id;


    private String companyId;

    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 产品名称
     */
    @NotBlank(message = "产品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String productName;

    /**
     * 是否通过审核(默认未通过0，已通过1)
     */
    private String status;

    /**
     * 公司经营产品id
     */
    private Long operatingProductsId;


}
